package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import javax.swing.ImageIcon;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.JButton;

public class FreezesManagement_GUI extends JPanel{
	private JButton Cancel_button;
	private JComboBox comboBox_choose_req;
	private JButton btnFreeze;
	public FreezesManagement_GUI() {
		setLayout(null);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("Freezes Management");
		lblNewJgoodiesTitle.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setIcon(new ImageIcon(FreezesManagement_GUI.class.getResource("/Picture/Manager-icon.png")));
		lblNewJgoodiesTitle.setBounds(10, 0, 374, 146);
		add(lblNewJgoodiesTitle);
		
		comboBox_choose_req = new JComboBox();
		comboBox_choose_req.setBounds(163, 190, 164, 28);
		add(comboBox_choose_req);
		
		JLabel lblChose = DefaultComponentFactory.getInstance().createTitle("choose request");
		lblChose.setFont(new Font("Arial", Font.BOLD, 12));
		lblChose.setBounds(10, 190, 125, 28);
		add(lblChose);
		
		Cancel_button = new JButton("Cancel");
		Cancel_button.setIcon(new ImageIcon(FreezesManagement_GUI.class.getResource("/Picture/Button-Close-icon.png")));
		Cancel_button.setBounds(10, 371, 141, 47);
		add(Cancel_button);
		
		btnFreeze = new JButton("Unfreeze");
		btnFreeze.setIcon(new ImageIcon(FreezesManagement_GUI.class.getResource("/Picture/Status-weather-freezing-rain-icon.png")));
		btnFreeze.setBounds(299, 371, 141, 47);
		add(btnFreeze);
	}
	public JButton getCancel_button() {
		return Cancel_button;
	}
	public void setCancel_button(JButton cancel_button) {
		Cancel_button = cancel_button;
	}
	public JComboBox getComboBox_choose_req() {
		return comboBox_choose_req;
	}
	public void setComboBox_choose_req(JComboBox comboBox_choose_req) {
		this.comboBox_choose_req = comboBox_choose_req;
	}
	public JButton getBtnFreeze() {
		return btnFreeze;
	}
	public void setBtnFreeze(JButton btnFreeze) {
		this.btnFreeze = btnFreeze;
	}
}
